package chapter04.Example20_23;
class Outer {
    int m = 0;

    void t1() {
        System.out.println("t1");
    }

    class Inner {
        int n = 1;

        void show1() {
            System.out.println("m=" + m);
        }

        void show2() {
            System.out.println("show2()");

        }
    }

    void t2() {
        Inner inner = new Inner();
        System.out.println(inner.n);
        inner.show2();
    }

    public class Example20 {
        public static void main(String[] args) {
            Outer outer = new Outer();
            Outer.Inner inner = outer.new Inner();
            inner.show1();
            outer.t2();
        }
    }
}
